var crypto = require('crypto');

module.exports = {
	mixPassword : function(password, salt) {
		var md5sum = crypto.createHash('md5');
		md5sum.update(salt + password + salt);
		return md5sum.digest('hex');
	}
}